﻿
@{
    Layout = null;
}

<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>请假管理</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">

    <link href="~/Plugins/layui/css/layui.css" rel="stylesheet" />


    <!-- 注意：如果你直接复制所有代码到本地，上述css路径需要改成你本地的 -->
</head>

<body overflow-y="scroll">
    <form class="layui-form">
        <div style="margin-bottom: 5px;">

            <h1 style="text-align: center;">请假管理</h1>
        </div>
        <div style="text-align: center;">
            请假人：
            <div class="layui-input-inline">
                <input type="text" id="username"  placeholder="请输入姓名"  class="layui-input">
            </div>
            审批状态：
            <div class="layui-input-inline">
                <select id="leaveState">
                    <option>全部</option>
                    <option>同意</option>
                    <option>不同意</option>
                    <option>未审批</option>
                </select>
            </div>

            请假类型：
            <div class="layui-input-inline">
                <select id="leaveType">
                    <option value="0">全部</option>
                </select>
            </div>
            时间：
            <button class="layui-btn layui-btn-normal layui-btn-radius layui-btn-sm" lay-submit lay-filter="btnSelect">搜索</button>
            <a class="layui-btn layui-btn-normal layui-btn-radius layui-btn-sm" href="/ApplyMange/Create">添加</a>

        </div>
    </form>


        <div style="text-align: center;">
            <table class="layui-table" lay-filter="demo" style="text-align:center">
                <thead>
                    <tr >
                        <th>工号</th>
                        <th>请假人</th>
                        <th>性别</th>
                        <th>请假类型</th>
                        <th>请假原因</th>
                        <th>开始时间</th>
                        <th>结束时间</th>
                        <th>审批状态</th>
                        <th>备注</th>
                        <th>操作</th>
                    </tr>
                </thead>             
               <tbody class="news_content"></tbody>
            </table>
            <div id="page" class="page"></div>
        </div>
  
    <script src="~/Plugins/layui/layui.js"></script>
    <script src="~/Scripts/ApplyMange/LeaveList.js"></script>

</body>

</html>